#!/usr/bin/env python

from Crypto.Hash import MD5
import time

db = {}

def newUser():
	prompt = 'login =>'
	while True:
		name = raw_input(prompt)
		if db.has_key(name):
			print 'user has exist'
			continue
		else:
			passwd = raw_input('password')
			db[name]=passwd
			

if __name__ == '__main__':
	newUser()